package com.zm.boss.service.response;

import lombok.Data;
import lombok.ToString;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * Description:
 * <p> summary内容
 * User: hacker li
 * Date: 2018-05-023
 * Time: 17:20
 */
@Data
@ToString
public class Summary {
    private String title;
    private Map<String, Attr> attrMap;
    public void addAttr(String key, Attr attr){
        if(attrMap == null){
            attrMap = new LinkedHashMap<String, Attr>();
        }
        attrMap.put(key, attr);
    }
}
